Search
LayoutBuilder.createPlotAndAxes Method
See Also
 






Creates a GridPanel containing the specified plot and axis renderers.

Namespace: MindFusion.Charting.Controls
File: LayoutBuilder.js

 Syntax

JavaScript  Copy Code

function createPlotAndAxes (plot, top, left, bottom, right)

 Parameters

plot

A Plot2D instance.

top

An array of XAxisRenderer components that should be placed at top side of the plot.

left

An array of YAxisRenderer components that should be placed at left side of the plot.

bottom

An array of XAxisRenderer components that should be placed at bottom side of the plot.

right

An array of YAxisRenderer components that should be placed at right side of the plot.

 Return Value

A GridPanel instance.

 See Also